package com.wantupai.mvp.mvp.lce.animcator;

import android.view.View;

import com.wantupai.mvp.mvp.lce.IMvpAnimator;


/**
 * @author :Created by zhangqing on 2018/11/26 13:37
 * @description :
 * @email :1423118197@qq.com
 * @classpath : com.football.wealth.mvp.mvp.lce.animcator.DefaultMvpAnimator
 */
public class DefaultMvpAnimator implements IMvpAnimator {
    @Override
    public void showContent(View loadingView, View contentView, View errorView,View defaultView) {
        MvpAnimatorUitls.getInstance().showContent(loadingView,contentView,errorView,defaultView);
    }

    @Override
    public void showError(View loadingView, View contentView, View errorView,View defaultView) {
        MvpAnimatorUitls.getInstance().showError(loadingView,contentView,errorView,defaultView);
    }

    @Override
    public void showLoading(View loadingView, View contentView, View errorView,View defaultView) {
        MvpAnimatorUitls.getInstance().showLoading(loadingView,contentView,errorView,defaultView);
    }

}
